package top.buyibuyi.course.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@JsonIgnoreProperties(value = {"handler"})
public class ChooseCourse implements Serializable {
    private int id;
    private String cname;
    private int ajobn;
    private String grade;
    private int mininum;
    private String brief;
    private String week;

    private String sectionnum;
    private int classroomn;
    private String aname;
    private int maxnum;
    private Course course;
    private Classroom classroom;

    @Override
    public String toString() {
        return "ChooseCourse{" +
                "id=" + id +
                ", cname='" + cname + '\'' +
                ", ajobn='" + ajobn + '\'' +
                ", grade='" + grade + '\'' +
                ", mininum=" + mininum +
                ", brief='" + brief + '\'' +
                ", week='" + week + '\'' +
                ", sectionnum='" + sectionnum + '\'' +
                ", classroomn='" + classroomn + '\'' +
                ", aname='" + aname + '\'' +
                ", maxnum=" + maxnum +
                ", course=" + course +
                ", classroom=" + classroom +
                ", courseid=" + courseid +
                ", semesterid=" + semesterid +
                ", stuSchoses=" + stuSchoses +
                '}';
    }

    private int courseid;
    private int semesterid;
    private List<StuSchose> stuSchoses;
}
